/*
 * @Author: 王明明834578987 10266004+wang-mingming-834578987@user.noreply.gitee.com
 * @Date: 2024-09-29 11:44:11
 * @LastEditors: 王明明834578987 10266004+wang-mingming-834578987@user.noreply.gitee.com
 * @LastEditTime: 2024-10-29 18:11:20
 * @FilePath: \ft-apply-admin\src\assets\tool\email.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { getImageUrl } from "@/assets/common/common.ts";
export default function getEmailDetail(userName, formInfo, mailInfo) {
  return [
    `亲爱的<span class='sendmail-acitve'>${userName}</span>同学：`,
    `你好！`,
    `恭喜你通过方田教育的面试，顺利进入“新田计划”特训营，我们非常期待你在未来加入方田大家庭。以下是培训期间重要通知，请务必知悉：`,
    `一、培训时间：<span class='sendmail-acitve'>${mailInfo.trainingYearTime}年${mailInfo.trainingStartTime}-${mailInfo.trainingYearTime}年${mailInfo.trainingEndTime}</span>`,
    `二、报到地点：<span class='sendmail-acitve'>${formInfo.reportPlace}</span>`,
    // `三、具体日程`,
    // 'null',
    // `<img style='width:45%' src=${getImageUrl('schedule.png', 'applicationDetail')} />`,
    // 'null',
    `三、温馨提示`,
    `（1）<span class='sendmail-acitve'>${mailInfo.trainingBeforeStartTime}-${mailInfo.accommodationEndTime}</span>提供住宿与午餐和晚餐，入住当天（<span class='sendmail-acitve'>${mailInfo.trainingBeforeStartTime}</span>）不提供午餐，自行安排；`,
    `（2）培训期间住宿为双人间，请带好身份证、衣物、水杯、雨伞、舒适的运动鞋（有毅行活动）、防晒等日用品。培训期间无需使用电脑，按需携带；`,
    `（3）退房时间为<span class='sendmail-acitve'>${mailInfo.trainingEndTime}</span>下午14:00之前，共住宿<span class='sendmail-acitve'>${mailInfo.accommodationCount}</span>晚；若住宿期间宾馆设施有故障，请直接联系宾馆前台处理（若无法沟通解决，请电联徐成诺老师，电话：<span class='sendmail-acitve'>18269891524</span>）；`,
    `（4）培训期间需下载软件【钉钉】，并于<span class='sendmail-acitve'>${mailInfo.trainingBeforeTwoStartTime}</span>（周日）18:00之前扫描下方二维码加入，会有专人通过加群申请；`,
    'null',
    `<img style='width:20%' src=${getImageUrl('qr.png', 'applicationDetail')} />`,
    'null',
    `（5）往返车费报销说明详见邮件附件。`,
    'null',
    `愿同学不负此行，学有所成，学有所获！`,
    `收到请邮件回复“收到，确认参加当期培训”。`,
    'null',
    'null',
    `方田教育|与优秀同行`
  ]
} 